# -*- coding: utf-8 -*-

import numpy as np
import matplotlib.pyplot as plt

def foo():
    a = np.arange(1, 100)
    plot = plt.subplot(211)
    plot.plot(a)
    plot = plt.subplot(212)
    plot.plot(a + a)
    plt.show()
    plot = plt.subplot(211)
    plot.plot(a * a)
    plot = plt.subplot(212)
    plot.plot(a + a * a)
    plt.show()
    
foo()
